<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../../../inc/conn.asp"-->
<!--#include file="../common/u.asp"-->
<%
links="package"

Set rsPackage=conn.execute("select count(id) from Package where uid='"&uid&"'") 
PackageNull=rsPackage(0)
if PackageNull<>"0" then
  set rss=conn.execute("select * from Package where uid='"&uid&"'")
  if not rss.eof then
	InterTransCostx=rss("InterTransType")
	PackageCostx=rss("PackageType")
	addressID=rss("Aid")
	content=rss("content")
  set rss=nothing
  end if
end if




editid=request.QueryString("editid")
if editid<>"" then
  set rss=conn.execute("select * from address where uid='"&uid&"' and id="&editid&"")
  if not rss.eof then
	codezip=rss("codezip")
	Location=rss("Location")
	name=rss("name")
	mobile=rss("mobile")
	strtel=rss("tel")
	flag=rss("flag")
  set rss=nothing
  end if
  
  if strtel<>"" then
    strtel=split(strtel,"-")
	for i=0 to ubound(strtel)
	  if i=0 then tel=strtel(i)
	  if i=1 then tel2=strtel(i)
	  if i=2 then tel3=strtel(i)
	next
  end if
  
end if
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>包裹管理</title>
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link rel="stylesheet" type="text/css" href="/css/reveal.css">	
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery.tabs.js"></script>
<script type="text/javascript" src="/js/jquery.reveal.js"></script>
<script type="text/javascript">
//$(function(){
//	$('.reg_s_1').Tabs({
//		event:'click'
//	});
//});	

</script>



<script type="text/javascript">
    //比如你想取某一条的"性别"选中情况
    $("#table5788 input[name=InterTransCost]:checked").val();
    //或者循环所有的table，这里以class作为选择器
    $("table.myClass").each(function(i,n){
        $(n).find("input[name=InterTransCost]:checked").val();   
    })
 
    //另外说一句，你应该尝试下以div布局
</script>

<script >
function abc() {
var obj = document.getElementsByName("InterTransCostID");
for(var i=0;i<obj.length;i++){
if(obj[i].checked){
html=obj[i].value;
var stringArray = html.split(":");
document.getElementById("InterTransCost").innerHTML=stringArray[0]; 	
document.getElementById("InterTransCostx").value=stringArray[1]; 
document.getElementById("money").innerHTML=parseInt(document.getElementById("InterTransCost").innerHTML)+parseInt(document.getElementById("PackageCost").innerHTML);
return true;
}
}
}
function abcx() {
var obj = document.getElementsByName("PackageCostID");
for(var i=0;i<obj.length;i++){
if(obj[i].checked){
html=obj[i].value;
var stringArray = html.split(":");
document.getElementById("PackageCost").innerHTML=stringArray[0]; 	
document.getElementById("PackageCostx").value=stringArray[1]; 	
document.getElementById("money").innerHTML=parseInt(document.getElementById("InterTransCost").innerHTML)+parseInt(document.getElementById("PackageCost").innerHTML);
return true;
}
}
}
</script>

<script language="javascript" type="text/javascript" src="/js/pd.js"></script>
<script>
function myjobchk(){
if (document.formcn.codezip.value=="")
{alert("邮政编码不能为空");
document.formcn.codezip.focus();
return false;
}
if(!Checkshuzi(formcn.codezip.value)){
alert("邮政编码输入错误");
formcn.codezip.focus();
return false;
}
if(formcn.codezip.value.length>8 || formcn.codezip.value.length<4){
alert("邮政编码输入错误")
formcn.codezip.focus()
return(false)
}
if (document.formcn.Location.value=="")
{alert("地址不能为空");
document.formcn.Location.focus();
return false;
}  
if(formcn.Location.value.length>50 || formcn.Location.value.length<10){
alert("请输入完整地址：xx省xx市xx区/县xx号，50字符以内")
formcn.Location.focus()
return(false)
}
if (document.formcn.name.value=="")
{alert("收件人不能为空");
document.formcn.name.focus();
return false;
}  
if(formcn.name.value.length>15 || formcn.name.value.length<2){
alert("收件人输入错误")
formcn.name.focus()
return(false)
}

if (document.formcn.mobile.value!="")
{

    if(!Checkshuzi(formcn.mobile.value)){
	alert("手机号码输入错误");
	formcn.mobile.focus();
	return false;
	}
	if(formcn.mobile.value.length!=11){
	alert("手机号码输入错误");
	formcn.mobile.focus();
	return false;
	}
}


if (document.formcn.mobile.value=="")
{
	if (document.formcn.tel.value=="")
	{alert("手机或电话不能同时为空");
	document.formcn.tel.focus();
	return false;
	}  
	if(!Checkshuzi(formcn.tel.value)){
	alert("电话区号输入错误");
	formcn.tel.focus();
	return false;
	}
	if(formcn.tel.value.length>4 || formcn.tel.value.length<2){
	alert("电话区号输入错误")
	formcn.tel.focus()
	return(false)
	}
	if (document.formcn.tel2.value=="")
	{alert("电话中间部分不能为空");
	document.formcn.tel2.focus();
	return false;
	} 
	if(!Checkshuzi(formcn.tel2.value)){
	alert("电话中间部分输入错误");
	formcn.tel2.focus();
	return false;
	}
	if(formcn.tel2.value.length>10 || formcn.tel2.value.length<6){
	alert("电话中间部分输入错误")
	formcn.tel2.focus()
	return(false)
	}
}    
return(true);
}





function myjobchkx(){
if (document.formcnx.codezip.value=="")
{alert("邮政编码不能为空");
document.formcnx.codezip.focus();
return false;
}
if(!Checkshuzi(formcnx.codezip.value)){
alert("邮政编码输入错误");
formcnx.codezip.focus();
return false;
}
if(formcnx.codezip.value.length>8 || formcnx.codezip.value.length<4){
alert("邮政编码输入错误")
formcnx.codezip.focus()
return(false)
}
if (document.formcnx.Location.value=="")
{alert("地址不能为空");
document.formcnx.Location.focus();
return false;
}  
if(formcnx.Location.value.length>50 || formcnx.Location.value.length<10){
alert("请输入完整地址：xx省xx市xx区/县xx号，50字符以内")
formcnx.Location.focus()
return(false)
}
if (document.formcnx.name.value=="")
{alert("收件人不能为空");
document.formcnx.name.focus();
return false;
}  
if(formcnx.name.value.length>15 || formcnx.name.value.length<2){
alert("收件人输入错误")
formcnx.name.focus()
return(false)
}

if (document.formcnx.mobile.value!="")
{

    if(!Checkshuzi(formcnx.mobile.value)){
	alert("手机号码输入错误");
	formcnx.mobile.focus();
	return false;
	}
	if(formcnx.mobile.value.length!=11){
	alert("手机号码输入错误");
	formcnx.mobile.focus();
	return false;
	}
}


if (document.formcnx.mobile.value=="")
{
	if (document.formcnx.tel.value=="")
	{alert("手机或电话不能同时为空");
	document.formcnx.tel.focus();
	return false;
	}  
	if(!Checkshuzi(formcnx.tel.value)){
	alert("电话区号输入错误");
	formcnx.tel.focus();
	return false;
	}
	if(formcnx.tel.value.length>4 || formcnx.tel.value.length<2){
	alert("电话区号输入错误")
	formcnx.tel.focus()
	return(false)
	}
	if (document.formcnx.tel2.value=="")
	{alert("电话中间部分不能为空");
	document.formcnx.tel2.focus();
	return false;
	} 
	if(!Checkshuzi(formcnx.tel2.value)){
	alert("电话中间部分输入错误");
	formcnx.tel2.focus();
	return false;
	}
	if(formcnx.tel2.value.length>10 || formcnx.tel2.value.length<6){
	alert("电话中间部分输入错误")
	formcnx.tel2.focus()
	return(false)
	}
}    
return(true);
}
</script>
</head>
<body onload="add()">

<!--#include file="../../common/top.asp"-->





<div class="fullwidth">
	<div class="place ">
		<a href="/">首页</a> &gt; <a href="/user">会员中心</a> &gt; 包裹管理
	</div>
</div>
<!--main-->
<div class="fullwidth bg1">
	<div class="main">
		
		
        
        <!--#include file="../common/left.asp"-->
        
        
		
		<div class="right_show f_r">
			
			<div class="title_4">
				<h2>包裹管理</h2><div></div>
			</div>
			<div class="reg_box reg_s_1 account order_tab order_tab1">
				<ul class="tab_menu">
					<li><a href="/user/package">我的仓库</a></li>
					<li class="current"><a href="/user/package/notpay">未付款包裹</a></li>
					<li><a href="/user/package/order/1">未发送包裹</a></li>
					<li><a href="/user/package/order/2">已发送包裹</a></li>
					<li><a href="/user/package/order/3">交易成功</a></li>
				</ul>
				<div class="tab_box">
					<div>
					<form id="checkx" name="checkx" action="" method="POST">
                    	<div class="clear20"></div>
						<table class="stable stable_1 stable_2">
							<tr>								
								<th>商品名称</th>
								<th>数量</th>
								<th>重量</th>
								<th>入库日期</th>
								<th>操作</th>
							</tr>
                            
                            
                            
                            <%		
							set rsnew=server.CreateObject("adodb.recordset")
							sql="select * from View_Package where isPackage=1 and uid='"&uid&"'"
							rsnew.open sql,conn,1,3
							if not rsnew.eof then
							do while not rsnew.eof 
							%>
							<tr>
								<td title="<%=rsnew("title")%>"><%=left(rsnew("title"),15)%></td>
								<td><%=rsnew("qty")%></td>
								<td><%=rsnew("weight")%>克
                                <%toweight=toweight+(cdbl(rsnew("weight"))*cdbl(rsnew("qty")))%>
                                </td>
								<td><%=rsnew("WarehouseTime")%></td>
								<td><a href="?del=<%=rsnew("id")%>&typeid=<%=rsnew("typeid")%>" class="blue_u">删除</a></td>
							</tr>
                            <%
							rsnew.movenext
							loop
							rsnew.close
							set rsnew=nothing
							end if		 
							%>
                            
                            
							
						</table>
	
			
					  <div class="clear20"></div>
						<table class="stable stable_1">
							<tr>
								<td class="select_td_1">商品合计重量</td>
								<td><%=toweight%>克</td>
							</tr>
							<tr>
								<td class="select_td_1">邮寄方式</td>
								<td>

                                    <%		
									set rsnew=server.CreateObject("adodb.recordset")
									sql="select * from InterTransCost where fid=0"
									rsnew.open sql,conn,1,3
									if not rsnew.eof then
									do while not rsnew.eof 
									
									    '计算运费
										set rsne=server.CreateObject("adodb.recordset")
										sql="select price from InterTransCost where fid="&rsnew("id")&" and Startweight<'"&toweight&"' and Endweight>='"&toweight&"'"
										rsne.open sql,conn,1,3
										if not rsne.eof then
										  InterTransprice=rsne("price")
										rsne.close
										set rsne=nothing
										end if
									%>
                                  <input type="radio" value="<%=InterTransprice%>:<%=rsnew("ID")%>" name="InterTransCostID" id="InterTransCostID" onchange="abc();" <%IF InterTransCostx=rsnew("ID") then response.Write " checked"%> /> <%=rsnew("title")%> &nbsp;&nbsp;&nbsp;
							    <%
									rsnew.movenext
									loop
									rsnew.close
									set rsnew=nothing
									end if		 
									%>
                                    <input type="hidden" name="InterTransCostx" id="InterTransCostx" value="<%=InterTransCostx%>" /></td>
							</tr>
							<tr>
								<td class="select_td_1">国际运费</td>
								<td><n id="InterTransCost" onpropertychange="add()" oninput="add()">
                                <%
								'计算运费
									if InterTransCostx<>"" then
										set rsne=server.CreateObject("adodb.recordset")
										sql="select price from InterTransCost where fid="&InterTransCostx&" and Startweight<'"&toweight&"' and Endweight>='"&toweight&"'"
										rsne.open sql,conn,1,3
										if not rsne.eof then
										  InterTransprice=rsne("price")
										  response.Write rsne("price")
										rsne.close
										set rsne=nothing
										end if
									else
									    response.Write 0
									end if
								%>
                                </n> 日元</td>
							</tr>
							<tr>
								<td class="select_td_1">包装形式</td>
								<td>
									
                                    <%		
									set rsnew=server.CreateObject("adodb.recordset")
									sql="select * from PackageCost where fid=0"
									rsnew.open sql,conn,1,3
									if not rsnew.eof then
									do while not rsnew.eof 
									
									
									   '计算运费
										set rsne=server.CreateObject("adodb.recordset")
										sql="select price from PackageCost where fid="&rsnew("id")&" and Startweight<'"&toweight&"' and Endweight>='"&toweight&"'"
										rsne.open sql,conn,1,3
										if not rsne.eof then
										  Packageprice=rsne("price")
										rsne.close
										set rsne=nothing
										end if
									
									%>
                                    <input type="radio" value="<%=Packageprice%>:<%=rsnew("id")%>" name="PackageCostID" id="PackageCostID" onchange="abcx();" <%IF PackageCostx=rsnew("ID") then response.Write " checked"%>/> <%=rsnew("title")%> &nbsp;&nbsp;&nbsp;
							    <%
									rsnew.movenext
									loop
									rsnew.close
									set rsnew=nothing
									end if		 
									%>
                                    <input type="hidden" name="PackageCostx" id="PackageCostx" value="<%=PackageCostx%>" />
                                    
								</td>
							</tr>
							<tr>
								<td class="select_td_1">包装材料费</td>
								<td><n id="PackageCost" onpropertychange="add()" oninput="add()">
								<%
								'计算运费
									if PackageCostx<>"" then
										set rsne=server.CreateObject("adodb.recordset")
										sql="select price from PackageCost where fid="&PackageCostx&" and Startweight<'"&toweight&"' and Endweight>='"&toweight&"'"
										rsne.open sql,conn,1,3
										if not rsne.eof then
										  Packageprice=rsne("price")
										  response.Write rsne("price")
										rsne.close
										set rsne=nothing
										end if
									else
										response.Write 0
									end if
								%>
                                </n> 日元</td>
							</tr>
							<tr>
								<td class="select_td_1">合计费用</td>
								<td><n id="money">
								<%
								if PackageNull<>"0" then
								   response.Write cdbl(Packageprice)+cdbl(InterTransprice)
								else
								   response.Write 0
								end if
								%>
                                </n> 日元</td>
							</tr>
						</table>
						
			      <div class="clear20"></div>
						<div class="title_9">
							<h2><em><a href="/user/address" class="blue">管理收货地址</a></em>确认收货地址<a name="addressID" id="addressID"></a></h2>
					  </div>
						<div class="clear20"></div>
						<table class="stable stable_1 stable_3 stable_6">
							
                            
                            <%
							'地址			
							set rsbanner=server.CreateObject("adodb.recordset")
							sql="select * from address where uid='"&uid&"' order by id asc"
							rsbanner.open sql,conn,1,3
							if not rsbanner.eof then
							do while not rsbanner.eof 
							%>
                      <tr>
								<td><img src="/images/address_xxx_1.jpg" /> &nbsp;寄送至 </td>
						  <td style="text-align:left"><label for="s_address"><input type="radio" name="addressID" id="s_address" value="<%=rsbanner("id")%>" <%
						  if addressID="" then
						     if rsbanner("flag")=true then response.Write " checked"
						  else
						     if addressID=rsbanner("ID") then response.Write " checked"
						  end if
						  
						  
						  %>/> <%=rsbanner("Location")%></label></td>
			    <td style="text-align:left">（<%=rsbanner("name")%> 收） <span class="fgray"><%=rsbanner("tel") &" &nbsp; "& rsbanner("mobile")%> &nbsp; <%if rsbanner("flag")=true then response.Write "默认地址"%></span></td>
								<td><a href="?EditID=<%=rsbanner("id")%>" class="blue">修改本地址</a></td>
							</tr>
                            <%
							rsbanner.movenext
							loop
							rsbanner.close
							set rsbanner=nothing
							end if		 
							%>
						</table>						
				  <div class="clear20"></div>
							<a href="#" data-reveal-id="myModal" class="add_address">使用新地址</a>
							<p class="add_p">备注 <textarea class="texta_2" name="content"><%=CONTENT%></textarea></p>
							<div class="save_1">
								<a href="/user/package" class="btn_13">加入商品</a>
								<a href="javascript:checkx.action='?buy=b';checkx.submit()"  class="btn_14">保 存</a>
								<a href="javascript:checkx.action='?buy=p';checkx.submit()"  class="btn_15">付款申请发送</a>
							</div>
						<div class="clear20"></div>
                        </form>
                        
                        
                        
                        
                        
                        
                        <div id="myModal" class="reveal-modal">
							<div class="new_address">
								<h3>使用新地址</h3>
									
                                    
                                    <form name="formcn" method="post" action="" onSubmit="return myjobchk();">
								<dl>
									<dd><span>邮政编码：<font class="red">*</font></span><input type="text" name="codezip" class="text" value="<%=codezip%>" /></dd>
									<dd><span>地址：<font class="red">*</font></span><textarea class="textar_2" name="Location"><%=Location%></textarea></dd>
									<dd><span>收货人姓名：<font class="red">*</font></span><input type="text" name="name" value="<%=name%>" class="text" placeholder="长度不超过25个字" /></dd>
									<dd><span>手机号码：</span><input type="text" class="text" name="mobile" value="<%=mobile%>" placeholder="手机和电话请至少填写一个" /></dd>
									<dd><span>电话号码：</span><input type="text" name="tel" value="<%=tel%>" class="text text_2" placeholder="区号" /> - <input type="text" name="tel2" value="<%=tel2%>" class="text text_2" placeholder="电话" /> - <input type="text" name="tel3" value="<%=tel3%>" class="text text_2" placeholder="分机" /></dd>
									<dd><span>设置默认：</span><input type="checkbox" name="flag" value="1"<%if flag=true then response.Write " checked"%>/> 设置为默认地址 <font class="fgray">设置后系统将在购买时自动选中该收货地址</font></dd>
									<dd><span></span>
										<input type="submit" class="btn_16" value="保存" />
                                        <input type="reset" class="btn_17" value="取消" />
                                        <input type="hidden" name="t" value="yes" />
                                        
									</dd>
								</dl>
							</form>
                                    
    
                                   
								<a class="close-reveal-modal">&#215;</a>
							</div>
							
						</div>
					
					</div>
					
                    
                    
                    
                    
                    
                    
                    
					
					
                    
                    
                    
                    
                    
                    
                    
					
                    
                    
                    
                    
                    
                    
                    
                    
					
                    
                    
                    
					
										
				</div>
				<div class="clear20"></div>
				<div class="clear20"></div>
			</div>	
			
		</div>
		
		
	</div>
</div>

<div class="clear"></div>

<!--#include file="../../common/footer.asp"-->















<%if request.QueryString("editID")<>"" then%>
<div class="pop_contenta" >
							<div class="new_address">
								<h3>使用新地址</h3>
									
                                    
                                    <form name="formcnx" method="post" action="" onSubmit="return myjobchkx();">
								<dl>
									<dd><span>邮政编码：<font class="red">*</font></span><input type="text" name="codezip" class="text" value="<%=codezip%>" /></dd>
									<dd><span>地址：<font class="red">*</font></span><textarea class="textar_2" name="Location"><%=Location%></textarea></dd>
									<dd><span>收货人姓名：<font class="red">*</font></span><input type="text" name="name" value="<%=name%>" class="text" placeholder="长度不超过25个字" /></dd>
									<dd><span>手机号码：</span><input type="text" class="text" name="mobile" value="<%=mobile%>" placeholder="手机和电话请至少填写一个" /></dd>
									<dd><span>电话号码：</span><input type="text" name="tel" value="<%=tel%>" class="text text_2" placeholder="区号" /> - <input type="text" name="tel2" value="<%=tel2%>" class="text text_2" placeholder="电话" /> - <input type="text" name="tel3" value="<%=tel3%>" class="text text_2" placeholder="分机" /></dd>
									<dd><span>设置默认：</span><input type="checkbox" name="flag" value="1"<%if flag=true then response.Write " checked"%>/> 设置为默认地址 <font class="fgray">设置后系统将在购买时自动选中该收货地址</font></dd>
									<dd><span></span>
										<input type="submit" class="btn_16" value="保存" />
                                        <input type="reset" class="btn_17" value="取消" />
                                        <input type="hidden" name="t" value="yes" />
                                        <input type="hidden" name="editid" value="<%=editid%>" />
									</dd>
								</dl>
							</form>
                                    
    
                                   
								<a href="/user/package/notpay" class="close-reveal-modal">&#215;</a>
							</div>
							
						</div><div class="pop_bga"></div>
<%end if%>














<%
if request.QueryString("buy")<>"" then
  InterTransCostID=request.Form("InterTransCostx")
  PackageCostID=request.Form("PackageCostx")
  addressID=request.Form("addressID")
  content=checkstr(inHTML(request.Form("content")))
  
    if InterTransCostID="" or PackageCostID="" or addressID="" then
	response.write"<script>alert('请选择邮寄方式、包装方式、收货地址');</script>"
	response.write"<script>window.history.back(-1);</script>"
	response.end
	end if
	
	if toweight="" then
	response.write"<script>alert('请先加入商品');</script>"
	response.write"<script>window.history.back(-1);</script>"
	response.end
	end if
  
  
  set rsx=server.createobject("adodb.recordset")
	if PackageNull=0 then
	  sql="select * from Package"
	  rsx.open sql,conn,1,3
	  rsx.addnew
	else
	  sql="select * from Package where uid='"&uid&"'"
	  rsx.open sql,conn,1,3
	end if
	rsx("uid")=uid
	rsx("InterTransType")=InterTransCostID
	rsx("PackageType")=PackageCostID
	rsx("Aid")=addressID
	rsx("weight")=toweight
	rsx("content")=content
	rsx.update
	rsx.close
	set rsx=nothing 
	
	if request.QueryString("buy")="b" then
	response.write"<script language=JavaScript>{window.alert('保存成功');window.location.href='/user/package/notpay';}</script>"
    else
	response.Redirect "/user/package/payment"
	end if
  
end if








if request.Form("t")="yes" then
    codezip=request.Form("codezip")
	Location=request.Form("Location")
	name=request.Form("name")
	mobile=request.Form("mobile")
	tel=request.Form("tel")
	tel2=request.Form("tel2")
	tel3=request.Form("tel3")
	Flag=request.Form("Flag")
	editid=request.Form("editid")
	if Flag="" then Flag=0
	
	if codezip="" or Location="" or name="" then
	response.write"<script>alert('邮编、地址、收件人、电话或手机不能为空');</script>"
	response.write"<script>window.history.back(-1);</script>"
	response.end
	end if
	
	set rsx=server.createobject("adodb.recordset")
	if editid="" then
	  sql="select * from address"
	  rsx.open sql,conn,1,3
	  rsx.addnew
	else
	  sql="select * from address where uid='"&uid&"' and id="&editid&""
	  rsx.open sql,conn,1,3
	end if
	rsx("uid")=uid
	rsx("codezip")=codezip
	rsx("Location")=Location
	rsx("name")=name
	rsx("mobile")=mobile
	if tel2<>"" then rsx("tel")=tel&"-"&tel2&"-"&tel3
	rsx("Flag")=Flag
	rsx.update
	rsx.close
	set rsx=nothing 
	response.write"<script language=JavaScript>{window.alert('保存成功');window.location.href='/user/package/notpay';}</script>"
end if







if request.QueryString("del")<>"" then
  id=checkstr(inHTML(request.QueryString("del")))
  typeid=checkstr(inHTML(request.QueryString("typeid")))
  
  if id="" or typeid="" then
  response.Write "<div class=""pop_content"">请选择商品 <a href=""javascript:history.back(-1)"">返回</a></div><div class=""pop_bg""></div>"
  response.end
  end if

	 if typeid="1" then
	   conn.execute("update AuctionsOrder set isPackage=0 where uid='"&uid&"' and id = "&id&"")
	 else
	   conn.execute("update OrderDetail set isPackage=0 where uid='"&uid&"' and id = "&id&"")
	 end if
  
  response.Write "<div class=""pop_content"">删除成功<br> <a href='/user/package'>继续添加商品</a> &nbsp; <a href='/user/package/notpay'>关闭</a></div><div class=""pop_bg""></div>"
end if
%>
















</body>
</html>